package com.ciaojian.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 抖音产品记录表
 * @author oxiny
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@TableName("b_dy_record")
public class DyRecord extends Model<DyRecord> {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户")
    private Integer userId;

    @ApiModelProperty("发型师")
    private Integer workerId;

    @ApiModelProperty("是否已消费")
    private Boolean used;

    private Date createTime;

    private Date updateTime;
}
